PreviousNextTracker indexSee it online !

(233/314) 3614492 - Sessions plugin discards buffer order

If buffer sorting is disabled, when saving a session using the Sessions plugin the manual buffer order set by the user gets lost, and on reopen the buffers are in what amounts to random order. I'm attaching a patch which uses a LinkedHashMap to store the current edit pane's buffers, which are in the proper order as set by the user. There may be a better way to solve this (perhaps while addressing bug 2698271), but this seems to work for now.

Submitted leblanc_kevin - 2013-06-13 - 02:02:19z Assigned nobody
Priority 5 Category None
Status Open Group None
Resolution None Visibility No

Comments

Attachments

2013-06-13 - 02:02:20z
leblanc_kevin
commit.patch

Patch allowing buffer order to be remembered.